<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
			<meta name="viewport" content="width=device-width, initial-scale=1.0">
	        <link rel="stylesheet" href="css/nav.css">
	        <link rel="stylesheet" href="bootstrap-3.3.5/css/bootstrap.css">
		<title>管理员添加新成员界面</title>
<link href="css/index.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript" src="js/jquery.1.4.2-min.js"></script>
<script type="text/javascript" src="js/Calculation.js"></script>
<script type="text/javascript">
$(document).ready(function () {    
	$(".allselect").click(function () {
		
		if($(this).attr("checked")){
			$(".stc_tb2 input[name=newslist]").each(function () {
				$(this).attr("checked", true);
			});
			GetCount();	
		}
		else
   		{
			$(".stc_tb2 input[name=newslist]").each(function () {
				if ($(this).attr("checked")) {
					$(this).attr("checked", false);
				} else {
					$(this).attr("checked", true);
				} 
			});
			GetCount();   
   		}		
	});
	$("#invert").click(function () {
		$(".stc_tb2 input[name=newslist]").each(function () {
			if ($(this).attr("checked")) {
				$(this).attr("checked", false);
			} else {
				$(this).attr("checked", true);
			} 
		});
		GetCount();
	});

	$("#cancel").click(function () {
		$(".stc_tb2 input[name=newslist]").each(function () {
			$(this).attr("checked", false);
		});
		GetCount();
	});
	$(".stc_tb2 input[name=newslist]").click(function () {
		if ($(this).attr("checked")) {
		} else {
		}
	});
	$(".stc_tb2 input[name=newslist]").click(function () {
		GetCount();
	});
});
</script>
</head>
	<style>
	.form-inline{
		margin-top: 50px;
		margin-left: 300px;
		font-family: "微软雅黑";
		font-size: 16px;

	}
	#exampleInputSearch{
		margin-left:400px;	
	}

	</style>
	<body>

<hr style="height:1px;border:none;border-top:7px solid #E0E0E0" /></br> 
<p style="text-align: center;font-size: 19px;margin-top: 80px;margin-bottom: 40px;font-family: '微软雅黑';">管理员选择添加对象</p>
<div class="stc" style=" margin:auto;">
	<table cellpadding="0" cellspacing="0" class="stc_tb1">
		<tr>
			<td class="tb1_td1"></td>
			<td class="tb1_td3"></td>
			<td class="tb1_td4"></td>
			<td class="tb1_td5"></td>
		</tr>
	</table>

	<table cellpadding="0" cellspacing="0" class="stc_tb6">
		<tr>
			<td class="tb6_td1"><button style="border: solid;border-color: #9E9E9E;border-radius: 8px;width: 110px;height: 30px;" onClick="look_course()">管理员</button></td>
			<td class="tb6_td3"><button style="border: solid;border-color: #9E9E9E;border-radius: 8px;width: 110px;height: 30px;" onClick="look_person()">学生</button></td>
			<td class="tb6_td2"><button style="border: solid;border-color: #9E9E9E;border-radius: 8px;width: 110px;height: 30px;" onClick="incdel_course()">教师</button></td>	
		</tr>
	</table>
	
</div>
<script type="text/javascript">
	function incdel_course(){
	window.open("tea_admin.html","_blank","top=120px,left=200,width=970,height=400,menubar=no,toolbar=no,scrollbars=yes")
		 
	}
	
	function look_course(){
		window.open("adm_admin.html","_blank","top=40px,left=80,width=1100,height=600,menubar=no,toolbar=no,scrollbars=yes")
		 
	}
	function look_person(){
	window.open("stu_admin.html","_blank","top=120px,left=200,width=970,height=400,menubar=no,toolbar=no,scrollbars=yes")
		 
	}
	
</script>
   
	</body>
</html>
